<%--@elvariable id="burst" type="com.infitecs.eyas.quality.model.Burst"--%>
<%--
  Created by IntelliJ IDEA.
  User: chenkaiyu
  Date: 15-4-18
  Time: 上午11:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
      <%@include file="../includes/head.jsp"%>
      <title>${menu.menuName}</title>
      <script src="<c:url value="/js/quality/boom1.js"/>" type="text/javascript"></script>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content">
<%@include file="../includes/top.jsp"%>
<div class="page-container">
    <%@include file="../includes/sidebar.jsp"%>
    <div class="page-content-wrapper">
        <div class="page-content">
            <%@include file="../includes/current.jsp" %>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box">
                        <div class="portlet-body form">
                            <form action="#" class="horizontal-form">
                                <div class="col-md-12">
                                    <h3 class="page-title" style="margin-bottom: 30px;font-size: 20px;color:darkgreen;">
                                        可磨性
                                    </h3>
                                </div>
                                <div class="form-body">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-3">哈氏可磨性系数HGI</label>
                                                <div class="col-md-9">
                                                    <input type="text"  class="form-control input-inline"
                                                            id="hgi" name="hgi" value="${burst==null?"":burst.hgiShow}">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="control-label col-md-3">VTI可磨性系数KvtI</label>
                                                <div class="col-md-9">
                                                    <input type="text" class="form-control input-inline"
                                                            id="kvti" name="kvti" value="${burst==null?"":burst.kvtiShow}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <h3 class="page-title" style="margin-bottom: 30px;font-size: 20px;color:darkgreen;">
                                        磨损腐蚀性
                                    </h3>
                                </div>
                                <div class="form-body">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="control-label col-md-3">冲刷磨损指数Ke</label>
                                                <div class="col-md-9">
                                                    <input type="text"  class="form-control input-inline"
                                                            id="ke" name="ke" value="${burst==null?"":burst.keShow}">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class=" control-label col-md-3">旋转磨损指数Al</label>
                                                <div class="col-md-9">
                                                    <input type="text" class="form-control input-inline"
                                                            id="ai" name="ai" value="${burst==null?"":burst.aiShow}">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-body">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="control-label col-md-3">烟气腐蚀指数Kg.c</label>
                                                <div class="col-md-9">
                                                    <input type="text"  class="form-control input-inline"
                                                            id="kgc" name="kgc" value="${burst==null?"":burst.kgcShow}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="control-label col-md-3">飞灰磨损指数Hm</label>
                                                <div class="col-md-9">
                                                    <input type="text" class="form-control input-inline"
                                                            id="hm" name="hm" value="${burst==null?"":burst.hmShow}" readonly>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <h3 class="page-title" style="margin-bottom: 30px;font-size: 20px;color:darkgreen;">
                                        爆炸性
                                    </h3>
                                </div>
                                <div class="form-body">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="control-label col-md-3">爆炸指数Kd</label>
                                                <div class="col-md-9">
                                                    <input type="text"  class="form-control input-inline"
                                                            id="kd" name="kd" value="${burst==null?"":burst.kdShow}"  readonly>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="form-body">
                                        <div class="row">
                                            <div class="col-md-4">
                                             </div>
                                             <div class="col-md-6">
                                                 <button type="button" class="btn green" id="save" onclick="boom.boomSave()">确定</button>
                                                 <button type="button" class="btn green"  onclick="boom.exportMzfx()">导出报表</button>
                                                 <button type="button" class="btn green" id="nextPage" onclick="boom.boomNext()">下一模块</button>
                                             </div>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <input type="hidden" id="caseId" value="${caseId}" name="caseId">
    <input type="hidden" id="addFlag" value="${burst==null?"add":"edit"}" name="addFlag">
</div>
<%@include file="../includes/footer.jsp" %>
<%@include file="../includes/bottomscript.jsp" %>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/DataTables/media/js/jquery.dataTables.min.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/ztree_v3/js/jquery.ztree.core-3.5.min.js"/>"></script>
<script type="text/javascript"
        src="<c:url value="/js/bower_components/ztree_v3/js/jquery.ztree.excheck-3.5.min.js"/>"></script>

<script>
    $(document).ready(function () {
        var caseId = $("#caseId").val();
        var step='<%=request.getAttribute("step")==null?"":request.getAttribute("step")%>'
        if (caseId == ""||step!="") {
            var obj=getUrlByStep(step)
            toast.error(obj.message);
            setTimeout(function () {
                window.location.href = obj.url;
            }, 1200);
        }
        boom.init();
    })
</script>

<script type="text/javascript">
    $(function () {
        <%
        String message = (String) request.getAttribute("message");
        if(message!=null&&!"".equals(message)){
        if(message.equals("success")){
        %>
        toast.success("操作成功");
        <%
        }else{
        %>
        toast.error("<%=request.getAttribute("message")%>");
        <%
         }
            }
       %>
    });
</script>
</body>
</html>